package com.qf.mapper;

import com.qf.entity.AppInfo;
import com.qf.vo.AppMaintainVO;
import com.qf.vo.AppVersionVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;


/**
 * APP全部信息的mapper接口
 *
 */

public interface AppInfoMapper extends Mapper<AppInfo> {

    @Select("select software_name,downloads from app_info order by downloads desc limit #{downloads}")
    List<AppInfo> findOrderByDownloads(@Param("downloads") Integer downloads);

    //分页展示数据
    List<AppMaintainVO> findPage(Map map);


}
